package com.study.www.test1.dao;

import com.study.www.test1.entity.Dept;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author : 89007337.zhuyanpeng
 * @date :  2019/8/20    22:49
 **/
@Repository
public interface DeptMapper {

    Dept findById(@Param("Id") String id);

    void insert(Dept dept);

    List<Dept> queryList();
}
